;
(function () {
  'use strict';
  angular.module('controllers.analysisSysOM.tps')
    .controller('maxTpsController', maxTpsController);

  function maxTpsController($scope, maxTpsService, COREDATA,$mdDialog) {
    $scope.maxTps = maxTpsService;
    $scope.exportUrl = COREDATA.FORMPREFIX + 'analysisSysOM/sysPerformance/throughput/exportMaxTPS';
    maxTpsService.search();
    $scope.$on('$destroy', function () {
      maxTpsService.reset();
      $mdDialog.hide();
    });
  }

  maxTpsController.$inject = ['$scope', 'maxTpsService', 'COREDATA','$mdDialog'];
})();